package com.atung.parking.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @author Administrator
 */
@Data
@TableName("bus_message_publish")
public class BusMessagePublish {

    @TableId(type = IdType.ASSIGN_ID)
    private Long id;
    private Integer messageType;
    private String parkingIotName;
    private String contactName;
    private BigDecimal price;
    private String parkingSpaceNumber;
    private Integer hasChargingPile;
    private String parkingSpaceDesc;
    private String parkingSpaceImage;
    private String contactPhone;

    private Integer messageState;
    @TableField(fill = FieldFill.INSERT)

    private String creatorId;
    @TableField(fill = FieldFill.UPDATE)
    private String modifierId;
    @TableField(fill = FieldFill.UPDATE)
    private String modifierTime;
    @TableField(fill = FieldFill.INSERT)
    private String creatorTime;
    @TableField(fill = FieldFill.INSERT)
    private String creatorName;
    @TableField(fill = FieldFill.UPDATE)
    private String modifierName;
    @TableLogic
    private Long delectd;
}